CREATE TABLE [dbo].[TTCONT_ACTU]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[TA_ORIG] [dbo].[TD_VC_002] NOT NULL,
[CO_CLAV_TAOR] [dbo].[TD_VC_050] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTCONT_AC__CO_US__72BBEAA9] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTCONT_AC__FE_US__73B00EE2] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTCONT_AC__CO_US__74A4331B] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTCONT_AC__FE_US__75985754] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCONT_ACTU] ADD CONSTRAINT [PK__TTCONT_A__A19D601E0C86A9A4] PRIMARY KEY CLUSTERED  ([CO_EMPR], [TA_ORIG], [CO_CLAV_TAOR]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTCONT_ACTU] ADD CONSTRAINT [FK__TTCONT_AC__CO_EM__4CC12A4A] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
